<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
<title><!--遗留物品详情--></title>
<meta charset="utf-8">
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <link rel="stylesheet" href="css/project/ui-res-v3.css">
    <link rel="stylesheet" href="css/project/ui-input-v3.css">
    <link rel="stylesheet" href="css/project/ui-color-v3.css">
	<link rel="stylesheet" href="css/project/style.css">
    <link rel="stylesheet" href="css/ui-base.css">
    <link rel="stylesheet" href="css/ui-box.css">
	<link rel="stylesheet" href="css/zv_common.css">
    <script src="js/zy_control.js"></script>
    <script src="js/zy_click.js"></script>
	<script src="js/zy_json.js"></script>
	<script src="js/main.js"></script>
	<script src="js/init.js"></script>
	<script type="text/javascript" src="js/JsonSQL/jsonsql-0.1.js"></script>
	<script src="js/talkingdata.js"></script>
	<style>
		*{ font-weight:normal;}
	</style>
</head>
<body class="um-vp c-wh" ontouchstart>
<div class="ub ub-ver">
	<div id="pic" style="display:none;">
		
	</div>
	<div id="kitsch" >
	</div>
	
</div>  
</body>
<script>
zy_init();
window.uexOnload=function(type){
	if(!type){
		uexWindow.setBounce("0");
		IC.talkingDataCount("遗留物品录入查询","0017");
		Loading(0);
		SubDate()
	}
}
function zv_down(){
	IC.talkingDataCount("遗留物品录入查询","0017");
		document.getElementById("pic").style.display='none'//图片
		document.getElementById("kitsch").style.display='block'//物品信息
}
function zv_open(Url){
	IC.talkingDataCount("遗留物品录入查询","0017");
		if(Url!='')
		{
			Url=img_url_url+Url
		}
		var pic=''
		pic+='<div style="position:inherit;">'
		pic+='<img src="'+Url+'" width="100%">'
		pic+='<div style="position:absolute; right:0.2em; top:0.2em"  onclick="zv_down()"><img src="images/close.png" style="width:1.5em"></div>'
		pic+='</div>'
		$$("pic").innerHTML=pic;
		document.getElementById("pic").style.display='block'//图片
		document.getElementById("kitsch").style.display='none'//物品信息
}
	

function SubDate(){
	var JosnStr = localStorage.getItem("kitsch_data_s");
	var kitsch_ID=localStorage.getItem("kitsch_ID")
	 //JosnStr=JosnStr.replace('[[', '[') 
	 //JosnStr= JosnStr.replace(']]', ']') 
	 JosnStr= "["+JosnStr+"]"
	 JosnStr = "{\"data\": {\"items\":"+JosnStr+"}}";
	var str=''
	var json = strToJson(JosnStr);
	var date = jsonsql.query("select * from json.data.items where (ID=='" +kitsch_ID+ "'  )", json);
	
	if(date[0].PICK_DATE!=''&date[0].PICK_DATE!='undefined'&date[0].PICK_DATE!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.845em;">拾获日</span>期：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].PICK_DATE+'</div>'
    str+='</div>'
	}
	if(date[0].AIRPORT!=''&date[0].AIRPORT!='undefined'&date[0].AIRPORT!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.845em;">拾获航</span>站：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].AIRPORT+'</div>'
    str+='</div>'
	}
	if(date[0].PICK_POSITION!=''&date[0].PICK_POSITION!='undefined'&date[0].PICK_POSITION!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.845em;">拾获位</span>置：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].PICK_POSITION+'</div>'
    str+='</div>'
	}
	if(date[0].PICK_POSITIONDETAIL!=''&date[0].PICK_POSITIONDETAIL!='undefined'&date[0].PICK_POSITIONDETAIL!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.845em;">具体位</span>置：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].PICK_POSITIONDETAIL+'</div>'
    str+='</div>'
	}
	if(date[0].RECEIPT_CODE!=''&date[0].RECEIPT_CODE!='undefined'&date[0].RECEIPT_CODE!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.38em;">交接单编</span>号：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].RECEIPT_CODE+'</div>'
    str+='</div>'
	}
	if(date[0].FLIGHT_NO!=''&date[0].FLIGHT_NO!='undefined'&date[0].FLIGHT_NO!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:1.75em;">航班</span>号：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].FLIGHT_NO+'</div>'
    str+='</div>'
	}
	if(date[0].ITEM_CODE!=''&date[0].ITEM_CODE!='undefined'&date[0].ITEM_CODE!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.1em;">遗留物品编</span>号：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].ITEM_CODE+'</div>'
    str+='</div>'
	}
	if(date[0].ITEM_CATEGORY!=''&date[0].ITEM_CATEGORY!='undefined'&date[0].ITEM_CATEGORY!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:4.55em;">类</span>别：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].ITEM_CATEGORY+'</div>'
    str+='</div>'
	}
	if(date[0].ITEM_COUNT!=''&date[0].ITEM_COUNT!='undefined'&date[0].ITEM_COUNT!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:4.55em;">数</span>量：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].ITEM_COUNT+'</div>'
    str+='</div>'
	}
	if(date[0].ITEM_STATE!=''&date[0].ITEM_STATE!='undefined'&date[0].ITEM_STATE!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.845em;">条目状</span>态：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].ITEM_STATE+'</div>'
    str+='</div>'
	}
	if(date[0].ITEM_NAME!=''&date[0].ITEM_NAME!='undefined'&date[0].ITEM_NAME!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:4.55em;;">品</span>名：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].ITEM_NAME+'</div>'
    str+='</div>'
	}
	if(date[0].ITEM_COLOR!=''&date[0].ITEM_COLOR!='undefined'&date[0].ITEM_COLOR!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:4.55em;">颜</span>色：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].ITEM_COLOR+'</div>'
    str+='</div>'
	}
	if(date[0].ITEM_NOTE!=''&date[0].ITEM_NOTE!='undefined'&date[0].ITEM_NOTE!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:4.55em;">品</span>牌：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].ITEM_NOTE+'</div>'
    str+='</div>'
	}
	if(date[0].ITEM_NOTE!=''&date[0].ITEM_NOTE!='undefined'&date[0].ITEM_NOTE!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.845em;">物品描</span>述：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].ITEM_NOTE+'</div>'
    str+='</div>'
	}
	if(date[0].ITEM_MODEL!=''&date[0].ITEM_MODEL!='undefined'&date[0].ITEM_MODEL!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:4.55em;">型</span>号：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].ITEM_MODEL+'</div>'
    str+='</div>'
	}
	if(date[0].IS_VALUABLE!=''&date[0].IS_VALUABLE!='undefined'&date[0].IS_VALUABLE!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.845em;">是否贵</span>重：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].IS_VALUABLE+'</div>'
    str+='</div>'
	}
	if(date[0].IS_PUTRESCIBLE!=''&date[0].IS_PUTRESCIBLE!='undefined'&date[0].IS_PUTRESCIBLE!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.1em;">是否鲜活易</span>腐：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].IS_PUTRESCIBLE+'</div>'
    str+='</div>'
	}
	if(date[0].PICKER_NAME!=''&date[0].PICKER_NAME!='undefined'&date[0].PICKER_NAME!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.38em;">拾获人姓</span>名：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].PICKER_NAME+'</div>'
    str+='</div>'
	}
	if(date[0].RENDER_TIME!=''&date[0].RENDER_TIME!='undefined'&date[0].RENDER_TIME!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.845em;">提交时</span>间：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].RENDER_TIME+'</div>'
    str+='</div>'
	}
	if(date[0].REMARKS!=''&date[0].REMARKS!='undefined'&date[0].REMARKS!=undefined){
	str+='<div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">'
    str+='<div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:4.55em;">备</span>注：</div>'
    str+='<div class="ulev0 umw6  t-gra" >'+date[0].REMARKS+'</div>'
    str+='</div>'
	}
	
	if(date[0].ITEM_PICTURE!=''&date[0].ITEM_PICTURE!='undefined'&date[0].ITEM_PICTURE!=undefined){
	str+='<div style="height:2.6em;  line-height:2.6em;background:#e8e8e8; text-align:center; font-size:0.9em; color:#4d4d4d; overflow:hidden; display:block; border-top:solid #ffffff 1px" id="LoadMore"   onclick="zv_open(\''+date[0].ITEM_PICTURE+'\');">查看图片</div>'
	}
	
	zv_open
	
	$$("kitsch").innerHTML=str;
	Loading(-1);
}

</script>
</html>
